﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/PrincipalUbicaTuReu.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<UPC.UbicaTuReu.WEB.Dominio.Salas>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

  

      <table style="width:100%" cellpadding="4" cellspacing="0" border="0" class="lista">

        <tr>
            <th></th>
            <th>
                Codigo
            </th>
            <th>
                Nombre
            </th>
            <th>
                Descripcion
            </th>
            <th>
                Ubicacion
            </th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%: Html.ActionLink("Edit", "Edit", new {  id=item.SalaID  }) %> |
                <%: Html.ActionLink("Details", "Details", new { id = item.SalaID })%> |
                
            </td>
            <td>
                <%: item.SalaID  %>
            </td>
            <td>
                <%: item.SalaNombre %>
            </td>
            <td>
                <%: item.SalaDescripcion  %>
            </td>
            <td>
                <%: item.SalaUbicacion%>
            </td>
        </tr>
    
    <% } %>

    </table>

    <p>
        <%: Html.ActionLink("Crear Sala", "Create") %>
    </p>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>

